package REDES2;

public class t {

	/**
	 * @param args
	 */	static String[] colors = new String[4];
	public static void main(String[] args) {
		// 
		String a ="UPLIST";
		String b = "UPLIST<1>localhost/127.0.0.1:4188";
		String c = "/127.0.0.1:2511///127.0.0.1:2511///127.0.0.1:2518///127.0.0.1:2511///127.0.0.1:2518///127.0.0.1:2525//";
		String message = "(try)<</127.0.0.1:1238>>yellow/red/green/blue/";
		//System.out.println(message.substring(message.indexOf(">")+1, message.indexOf("<<")));
		String d ="try)<</127.0.0.1:1235>>yellow/red/green/blue/";
		 colors = message.substring(message.indexOf(">>")+2).split("/");
		 for (int i = 0; i < colors.length; i++) {
			System.out.println(colors[i]);
		}
		//System.out.println(b.substring(b.indexOf("<")+1, b.indexOf(">")));
	
		//System.out.println(b.substring(b.indexOf("<")+1, b.indexOf(">"))+b.substring(b.indexOf(">")+1, b.length()));
		//System.out.println(b.substring(b.indexOf(">")+1, b.length()));
		//System.out.println(d.substring(11)); 
		
		
		}
	

}
